package com.uui.service.menu;

import java.util.HashMap;
import java.util.List;

import com.uui.bean.FirstMenu;
import com.uui.util.ResultMap;

public interface MenuService {

	List<ResultMap<String, Object>> queryMainMenu(HashMap<String, Object> whereMap);

	List<ResultMap<String, Object>> queryMenu(HashMap<String, Object> whereMap);

	void deleteMainMenu(String id);

	void updateMainMenu(FirstMenu menu);
	
	List<ResultMap<String, Object>> queryAuthority() throws Exception;
	
	void addMainMenu(FirstMenu menu);
}
